home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
xcmd
/
sprtxtrn.sea
/
Support Tools eXternals 1.2.5
/
card_2277.txt
< prev
next >
Wrap
Text File
|
1990-11-13
|
668b
|
25 lines
-- card: 2277 from stack: in.5
-- bmap block id: 11062
-- flags: 0000
-- background id: 3858
-- name: HFSRename
----- HyperTalk script -----
on HideObjects
end HideObjects
on ShowObjects
end ShowObjects
-- part contents for background part 38
----- text -----
25/50
-- part contents for background part 20
----- text -----
HFSRename - An XFCN to rename a file or folder
HFSRename(sourcePathName, newPathname, «"noDialog:"errorGlobal»)
This XFCN will rename the specified file or folder to the new name given in newPathname. Folders need to end with a ":" and both parameters must match (i.e. both should be paths to files or both should be paths to folders).